const mongoose = require('mongoose')

let Schema = mongoose.Schema

let experimentSchema = new Schema({
    title:{type:String,default:""},
    purpose:{type:String,default:""},
    content:{type:String,default:""},
    startDate:{type:Date,default:Date.now()},
    endDate:{type:Date,default:Date.now()},
    class:{type:String,default:""},
    step:{type:Array,default:[]},
    accessory:{type:String,default:""},//附件
    remark:{type:String,default:"无"}//备注
})



module.exports = mongoose.model('experiment',experimentSchema)